package com.ruoyi.merchant.shopverification.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 企业认证配置类
 * 
 * @author zzr
 * @date 2025-09-14
 */
@Configuration
@ConfigurationProperties(prefix = "aliyun.enterprise.verification")
public class EnterpriseVerificationConfig {
    
    /** 阿里云API网关地址 */
    private String host = "https://juccvvm.market.alicloudapi.com";
    
    /** 企业认证接口路径 */
    private String path = "/enterprise/three/check";
    
    /** 阿里云AppCode */
    private String appcode;
    
    /** 请求超时时间（毫秒） */
    private int timeout = 30000;
    
    /** 连接超时时间（毫秒） */
    private int connectTimeout = 10000;

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getAppcode() {
        return appcode;
    }

    public void setAppcode(String appcode) {
        this.appcode = appcode;
    }

    public int getTimeout() {
        return timeout;
    }

    public void setTimeout(int timeout) {
        this.timeout = timeout;
    }

    public int getConnectTimeout() {
        return connectTimeout;
    }

    public void setConnectTimeout(int connectTimeout) {
        this.connectTimeout = connectTimeout;
    }
}
